<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>商机分析</title>
    <link rel="icon" href="favicon.ico" type="images/ico">
    <meta name="author" content="dc">
    <link rel="stylesheet" type="text/css" href="/css/materialdesignicons.min.css">
    <link rel="stylesheet" type="text/css" href="/css/bootstrap.min.css"/>
    <link rel="stylesheet" type="text/css" href="/css/animate.min.css">
    <link rel="stylesheet" type="text/css" href="/css/style.min.css">
    <link href="/js/bootstrap-table/bootstrap-table.min.css" rel="stylesheet"/>
    <link rel="stylesheet" href="/js/jquery-confirm/jquery-confirm.min.css"/>
    <!--固定table列-->
    <link href="/js/bootstrap-table/extensions/fixed-columns/bootstrap-table-fixed-columns.min.css" rel="stylesheet"/>
    <!--时间选择插件-->
    <link rel="stylesheet" href="/js/bootstrap-datetimepicker/bootstrap-datetimepicker.min.css"/>
    <!--日期选择插件-->
    <link rel="stylesheet" href="/js/bootstrap-datepicker/bootstrap-datepicker3.min.css"/>
    <!-- 多选下拉 -->
    <link rel="stylesheet" href="/css/bootstrap-select.css" type="text/css"/>
    <link rel="stylesheet" href="/css/skin.css"/>
    <link rel="stylesheet" href="/css/customerManager/user/myCustomerPool.css"/>

</head>
<body>
<div class="container-fluid customer-page">
    <div class="card">
        <div class="card-header">
            <h1>商机分析</h1>
        </div>
        <div class="card-body">
            <div class="row">
                <div class="col-xs-9">
                    <div class="select-switch pull-left dateType">
                        <span id="bs" class="hidden" th:text="${bs}"></span>
                        <label><input type="radio" name="dateType" value="" onclick="selectTime('all')" checked><span>全部</span></label>
                        <label><input type="radio" name="dateType" value="thisLastMonth" onclick="selectTime('thisLastMonth')"><span>上月</span></label>
                        <label><input type="radio" name="dateType" value="thisMonth" onclick="selectTime('thisMonth')"><span>本月</span></label>
                        <label><input type="radio" name="dateType" value="thisQuarter" onclick="selectTime('thisQuarter')"><span>本季度</span></label>
                        <label><input type="radio" name="dateType" value="thisYear" onclick="selectTime('thisYear')"><span>本年</span></label>

                    </div>
                    <div class="form-content input-group pull-left" style="width: 320px; margin-left: 12px;">
                        <input type="text"   class="form-control create-time date-input" id="startTime"
                               placeholder="请输入起始时间" autocomplete="off">
                        <span class="input-group-addon">至</span>
                        <input type="text"   class="form-control create-time date-input" id="endTime"
                               placeholder="请输入截止时间" autocomplete="off">
                    </div>
                </div>
                <div class="col-xs-3">
                    <div class="form-content" id="companySelect" style="display: none;">
                        <select class="form-control pull-right" style="width: 150px;" id="companyId" type="text" title="请选择" data-live-search="true">
                        </select>
                    </div>
                </div>
            </div>
            <div class="well form-well">
                <div style="width: 100%;height: 500px;" id="businessLine"></div>
            </div>
            <div class="well form-well">
                <div class="row" style="max-width: none;">
                    <div class="col-xs-12">
                        <div class="time-search select-switch opportunityStatus" >
                            <label><input type="radio" name="opportunityStatus" value="1" onclick="opportunityStatus('1')" checked><span>初步洽谈</span></label>
                            <label><input type="radio" name="opportunityStatus" value="2" onclick="opportunityStatus('2')"><span>需求确定</span></label>
                            <label><input type="radio" name="opportunityStatus" value="3" onclick="opportunityStatus('3')"><span>方案报价</span></label>
                            <label><input type="radio" name="opportunityStatus" value="4" onclick="opportunityStatus('4')"><span>谈判</span></label>
                            <label><input type="radio" name="opportunityStatus" value="5" onclick="opportunityStatus('5')"><span>洽谈合同</span></label>
                            <label><input type="radio" name="opportunityStatus" value="6" onclick="opportunityStatus('6')"><span>赢单</span></label>
                            <label><input type="radio" name="opportunityStatus" value="7" onclick="opportunityStatus('7')"><span>输单</span></label>

                            <!--input type="hidden" id="opportunityStatus" name="opportunityStatus" value="1"/>
                            <div class="all active-second" onclick="selectTime('1')">初步洽谈</div>
                            <div class="firstMonth" onclick="selectTime('2')">需求确定</div>
                            <div class="month" onclick="selectTime('3')">需求确定</div>
                            <div class="quarter" onclick="selectTime('4')">谈判</div>
                            <div class="year" onclick="selectTime('5')">洽谈合同</div>
                            <div class="year" onclick="selectTime('6')">赢单</div>
                            <div class="year" onclick="selectTime('7')">输单</div>-->
                        </div>
                    </div>
                    <div class="col-xs-9">
                        <div style="width: 80%;height: 500px;" id="businessPie"></div>
                    </div>
                    <div class="col-xs-3">
                        <ul class="client" id="businessTable" style="height: 500px;"></ul>
                    </div>
                </div>
            </div>
<!--            <table id="businessTable"></table>-->
        </div>
    </div>


</div>
</body>
<script type="text/javascript" src="/js/jquery.min.js"></script>
<script type="text/javascript" src="/js/bootstrap.min.js"></script>
<script type="text/javascript" src="/js/perfect-scrollbar.min.js"></script>
<!--标签插件-->
<script src="/js/jquery-tags-input/jquery.tagsinput.min.js"></script>
<script type="text/javascript" src="/js/main.min.js"></script>
<script type="text/javascript" src="/js/bootstrap-table/bootstrap-table.min.js"></script>
<script type="text/javascript" src="/js/bootstrap-table/bootstrap-table-zh-CN.min.js"></script>
<script type="text/javascript" src="/js/popper.min.js"></script>
<script type="text/javascript" src="/js/jquery.cookie.min.js"></script>
<!--时间选择插件-->
<script src="/js/bootstrap-datetimepicker/moment.min.js"></script>
<script src="/js/jquery-confirm/jquery-confirm.min.js"></script>
<script src="/js/bootstrap-datetimepicker/bootstrap-datetimepicker.min.js"></script>
<script src="/js/bootstrap-datetimepicker/locale/zh-cn.js"></script>
<!--日期选择插件-->
<script src="/js/bootstrap-datepicker/bootstrap-datepicker.min.js"></script>
<script src="/js/bootstrap-datepicker/locales/bootstrap-datepicker.zh-CN.min.js"></script>
<script type="text/javascript" src="/js/crm/common/dataRangePicker.min.js"></script>
<!-- 多选框下拉 -->
<script type="text/javascript" src="/js/bootstrap-select.js"></script>
<script type="text/javascript" src="/js/bootstrap.lyear.dropdowntree.min.js"></script>
<!--table固定列-->
<script type="text/javascript" src="/js/bootstrap-table/extensions/fixed-columns/bootstrap-table-fixed-columns.js"></script>
<!-- 图表 -->
<script type="text/javascript" src="/js/echarts.min.js"></script>
<script src="/js/crm/opportunityManager/opportunityAnalysisForm.js"></script>
</html>